package com.dragon.modules.yuegou.mapper.merchant;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dragon.modules.yuegou.entity.merchant.ThemeEntity;
import com.dragon.modules.yuegou.model.merchant.Theme;
import com.dragon.modules.yuegou.query.merchant.ThemeQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 模板管理 Mapper接口
 *
 * @author pbuilder generated
 * @date 2019-09-23 15:31:49
 * @version 2.0
 */
@Component("merThemeMapper")
public interface ThemeMapper extends BaseMapper<ThemeEntity> {
    /**
     * 按条件查询模板
     * @param page 分页条件
     * @param themeQuery  查询条件
     * @return  模板分页列表
     */
    IPage<Theme> templateList(IPage<ThemeEntity> page, @Param("query") ThemeQuery themeQuery);
	
}
